/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.client.hazards.wind.roof;

import com.google.gwt.core.client.GWT;

import gov.fema.hazus.bdc.client.common.ui.AbstractClassificationSchemeListBox;
import gov.fema.hazus.bdc.client.hazards.wind.WindConstants;

public class WindRoofShapeListBox extends AbstractClassificationSchemeListBox {

	private WindConstants constants;

	public WindRoofShapeListBox()
	{
		
		constants = (WindConstants)GWT.create(WindConstants.class);
		
		// add all of the items, if null, set to unknown
		this.addItem(constants.schemaWindRoofShapeUNKNOWN(), "0 = Unknown");
		this.addItem(constants.schemaWindRoofShapeGABLE(), "1 = Gable");
		this.addItem(constants.schemaWindRoofShapeHIP(), "2 = Hip");
		this.addItem(constants.schemaWindRoofShapeFLAT(), "3 = Flat");
		this.addItem(constants.schemaWindRoofShapeGAMBREL(), "4 = Gambrel");
		this.addItem(constants.schemaWindRoofShapeMANSARD(), "5 = Mansard");
		this.addItem(constants.schemaWindRoofShapeDUTCH(), "6 = Dutch-Hip");
		this.addItem(constants.schemaWindRoofShapeSHED(), "7 = Shed");
		this.addItem(constants.schemaWindRoofShapeMONO(), "8 = Mono-slope");
		this.addItem(constants.schemaWindRoofShapeMULTI(), "9 = Multi-level");
		this.addItem(constants.schemaWindRoofShapeBARN(), "90 = Barn");
		this.addItem(constants.schemaWindRoofShapeOTHER(), "99 = Other");
	}
	
/*
# roof shape
schemaWindRoofShapeUNKNOWN=Unknown
schemaWindRoofShapeGABLE=Gable
schemaWindRoofShapeHIP=Hip
schemaWindRoofShapeFLAT=Flat
schemaWindRoofShapeGAMBREL=Gambrel
schemaWindRoofShapeMANSARD=Mansard
schemaWindRoofShapeDUTCH=Dutch-Hip
schemaWindRoofShapeSHED=Shed
schemaWindRoofShapeMONO=Mono-slope
schemaWindRoofShapeMULTI=Multi-level
schemaWindRoofShapeBARN=Barn
schemaWindRoofShapeOTHER=Other
0 = Unknown
1 = Gable
2 = Hip
3 = Flat
4 = Gambrel
5 = Mansard
6 = Dutch-Hip
7 = Shed
8 = Mono-slope
9 = Multi-level
90 = Barn
99 = Other

 */	
}
